package cn.mrcode.fd.blog.listener;

import cn.mrcode.fd.utils.log.track.LogTrackFilter;

import javax.servlet.http.HttpServletRequest;

/**
 * 日志追踪过滤器
 * @author : zhuqiang
 * @version : V1.0
 * @date : 2016/2/2 21:04
 */
public class BlogLogTrackFilter extends LogTrackFilter {
    @Override
    protected boolean ignore(HttpServletRequest requeest) {
        String requestURI = requeest.getRequestURI();
        if(requestURI.startsWith("/assets")){
            return true;
        }else {
            return false;
        }
    }
}
